package com.example.zjx8969.myapplication.banner;

import androidx.room.Entity;
import androidx.room.ForeignKey;
import androidx.room.PrimaryKey;
import androidx.annotation.NonNull;

@Entity(tableName = "banner_show_record",
        foreignKeys = @ForeignKey(entity = BannerBean.class, parentColumns = {"id"}, childColumns = "bannerId", onDelete = ForeignKey.CASCADE))
public class BannerShowRecord {
    @PrimaryKey
    @NonNull
    public int bannerId;
    public int click;
    public int impression;
}
